package cn.iocoder.yudao.module.handguard.controller.admin.productaccesspercentage.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 准入产品-提成参数分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProductAccessPercentagePageReqVO extends PageParam {

    @Schema(description = "产品准入id", example = "18617")
    private Long productAccessId;

    @Schema(description = "数值百分比 0数值，1百分比", example = "2")
    private String deductType;

    @Schema(description = "直接利润")
    private BigDecimal directProfit;

    @Schema(description = "间接利润")
    private BigDecimal indirectProfit;

    @Schema(description = "总利润")
    private BigDecimal grossProfit;

    @Schema(description = "区域经理提成")
    private BigDecimal regionalManagerRoyalty;

    @Schema(description = "业务主管提成")
    private BigDecimal businessSupervisorRoyalty;

    @Schema(description = "业务经理提成")
    private BigDecimal businessManagerRoyalty;

    @Schema(description = "推荐人提成-财富值返利")
    private BigDecimal referrerRoyalty;

    @Schema(description = "客户提成-财富值返利")
    private BigDecimal clientRoyalty;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
